<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="">
        你好
        <img src="../day2/touxiang.webp" alt="">
    </div>
</body>
<script>
    window.onload=function(){
        console.log('浏览器文档资源加载完之后触发');
    }
    window.onresize=function(){
        console.log('浏览器大小发生了改变');
    }
</script>
</html>